package game.view.mediator 
{
	import game.view.screen.ApplicationScreen;
	import game.view.screen.GameBoardScreen;
	import game.view.screen.MenuScreen;
	import org.puremvc.as3.interfaces.IMediator;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.mediator.Mediator;
	/**
	 * ...
	 * @author Thot
	 */
	public class ApplicationMediator extends Mediator implements IMediator
	{
		
		public static const NAME:String = "ApplicationMediator";
		
		private var _screen:ApplicationScreen;
		
		public function ApplicationMediator() 
		{
			_screen = ApplicationScreen.getInstance();
			super( NAME, _screen );
		}
		
		override public function handleNotification (notification:INotification) : void
		{
			
		}
		
		public function getMenu():MenuScreen
		{
			return _screen.menu;
		}
		
		public function getBoard():GameBoardScreen
		{
			return _screen.gameBoard;
		}
		
		
	}

}